/**
 * Created by Administrator on 2017/7/21.
 */
var express=require("express");
var app=express();

app.listen("8008",function () {
    console.log("服务器已经启动成功")
});
app.all("*",function (req,res) {
    res.header("Access-Control-Allow-Origin","*");
    console.log(req.url);
    res.sendFile(__dirname+req.url)
});